<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title><%= title %></title>
    <link rel='stylesheet' href='/stylesheets/add.css'/>
</head>
<body>
<div id="add">
    <h1><%= title %></h1>
    <hr>
    <form action="/success"  method="post" enctype="multipart/form-data">
        <p>事项</p>
        <label>
            <input type="text" name="matter">
        </label>
        <p>发生时间</p>
        <label>
            <input type="date" name="time">
        </label>
        <p>类型</p>
        <label>
            <select name="type">
                <option value="支出">支出</option>
                <option value="收入">收入</option>
            </select>
        </label>
        <p>金额</p>
        <label>
            <input type="number" name="money">
        </label>
        <p>备注</p>
        <label>
            <input type="text" name="notes">
        </label>
        <br>
        <br>
        <input type="submit" value="添加">
    </form>
</div>
</body>
</html>
